package com.cw2.behavioral.command;

/**
 * 命令的发起者
 * controller
 */
public class TeacherTongInvoker {
    Command command;


    public void call(){
        // 执行命令
        command.execute();
    }

    public void setCommand(Command command) {
        this.command = command;
    }
}
